<?php

// includes and basic application setup/configuration
$GLOBALS['LethargicRecord']['dbOpts'] = array('username' => 'DBUSERNAME',
                                              'password' => 'DBPASSWORD',
                                              'database' => 'DBNAME');
require_once 'lib/lethargic_record.php';
require_once 'models/models.php';

$GLOBALS['LethargicRecord']['defaultController'] = 'dashboard';
$GLOBALS['LethargicRecord']['defaultAction'] = 'index';
require_once 'lib/lethargic_controller.php';
require_once 'controllers/controllers.php';

// magic!
LethargicController::route();
?>